import Todo from "../views/Todo";
import Todo2 from '../views/Todo2'
import Todo3 from "../views/Todo3";
import Login from "../views/Login"
import {Navigate} from "react-router-dom"
const router = [
  {
    path:"/",
    element:<Navigate to="/todo"></Navigate>
  },
  {
    path:"/todo",
    element:<Todo></Todo>
  },
  {
    path:"/todo2",
    element:<Todo2></Todo2>
  },
  {
    path:"/todo3",
    element:<Todo3></Todo3>
  },
  {
    path:"/login",
    element:<Login></Login>
  },
]
export default router